import { request } from '@/utils/request'
import type { User, CodeType, UserInfo, PatientList, Patient } from '@/types/user'

// 密码登录
export const loginByPassword = (username: string, password: string) =>
  request<User>('/user/login', 'POST', { username, password })






export const setSign = () => {
  return request<User>('user/sign', 'GET')
}

